.yq-dashboard {
  &.el-el-scrollbar /deep/ .el-scrollbar__view {
    height: calc(100vh - 11rem);
  }

  &__main {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 2.2rem 0 1.5rem;
    /deep/ .exter-commun-box {
      background: #fff;
      .table {
        padding: 20px;
      }
    }
  }
}

.header-btns {
  position: fixed;
  right: 1rem;
  top: 4.5rem;
  &__icon {
    background-color: #4090ff;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    font-size: 1.25rem;
    color: #fff;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    border-radius: 3px;
    overflow: hidden;
    margin-left: 0.5rem;
  }
  .dg-iconp {
    font-size: 1.5rem;
  }
}

/* 让卡片内容成为弹性布局 */
.yj-card {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;

  /deep/ .el-card__header {
    flex: none;
  }
  /deep/ .el-card__body {
    flex: 1;
    display: flex;
  }
}

.xx-card {
  flex: none;
  /deep/ .el-card__header {
    height: auto;
  }
  &__header {
    display: flex;
    justify-items: center;

    .dg-select {
      width: 8rem;
    }
    .dg-date-picker {
      margin-left: 10px;
    }
  }
  &__title {
    flex-grow: 1;
  }
}
